package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.Point;
import cn.topevery.garden.entity.query.PointQuery;
import cn.topevery.garden.entity.vo.PointVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;
import java.util.Map;

public interface PointDao extends BaseDao<Point> {
    DataPager<PointVO> listPage(PointQuery query);

    void deleteBatchById(String userId, Integer[] ids);

    DataPager<PointVO> getPointListBySectionId(PointQuery query);

    void setPointStatus(List<Integer> idList, Integer status);

    List<Map<String, Object>> getListBySectionId(Integer sectionId);
}
